Page({
  data: {},
  onLoad: function(options) {},
  onReady: function() {},
  onShow: function() {},
  onHide: function() {},
  onUnload: function() {},
  onPullDownRefresh: function() {},
  onReachBottom: function() {},
  onShareAppMessage: function() {},
  onOpeningTap(e) {
    var _this = this,
      id = e.currentTarget.id
    if (id == 1) {
      wx.navigateTo({
        url: "/pages/onPower/onPower"
      })
    } else {
      wx.navigateTo({
        url: '/pages/cooperative/cooperative',
      })
    }
  },
  in () {
    wx.navigateTo({
      url: '/pages/PageIndex/PageIndex?state=1',
    })
  }
})